<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Cheetah Software: digital_lp_filter&lt; T &gt; Class Template Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Cheetah Software
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="../../inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('da/d4f/classdigital__lp__filter.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d3/d42/classdigital__lp__filter-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">digital_lp_filter&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for digital_lp_filter&lt; T &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../df/d56/classdigital__lp__filter__inherit__graph.png" border="0" usemap="#digital__lp__filter_3_01_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="digital__lp__filter_3_01_t_01_4_inherit__map" id="digital__lp__filter_3_01_t_01_4_inherit__map">
</map>
</div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for digital_lp_filter&lt; T &gt;:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d54/classdigital__lp__filter__coll__graph.png" border="0" usemap="#digital__lp__filter_3_01_t_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="digital__lp__filter_3_01_t_01_4_coll__map" id="digital__lp__filter_3_01_t_01_4_coll__map">
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a623db70959f94602edb6795a2e9071a0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#a623db70959f94602edb6795a2e9071a0">digital_lp_filter</a> (T w_c, T t_s)</td></tr>
<tr class="separator:a623db70959f94602edb6795a2e9071a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cc33f8a1b44e5ee6d5443676da111f0"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#a3cc33f8a1b44e5ee6d5443676da111f0">~digital_lp_filter</a> (void)</td></tr>
<tr class="separator:a3cc33f8a1b44e5ee6d5443676da111f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4d847907d2b803d4e305374c4735494"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#ac4d847907d2b803d4e305374c4735494">input</a> (T input_value)</td></tr>
<tr class="separator:ac4d847907d2b803d4e305374c4735494"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15cac566530d7857a642ccf175241c42"><td class="memItemLeft" align="right" valign="top">virtual T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#a15cac566530d7857a642ccf175241c42">output</a> (void)</td></tr>
<tr class="separator:a15cac566530d7857a642ccf175241c42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76efd95997dfdbd4407a1992e16e2566"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#a76efd95997dfdbd4407a1992e16e2566">clear</a> (void)</td></tr>
<tr class="separator:a76efd95997dfdbd4407a1992e16e2566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classfilter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfilter')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../db/db7/classfilter.html">filter&lt; T &gt;</a></td></tr>
<tr class="memitem:a1acf714cdea22d29c669fb14840f97a2 inherit pub_methods_classfilter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/db7/classfilter.html#a1acf714cdea22d29c669fb14840f97a2">filter</a> (void)</td></tr>
<tr class="separator:a1acf714cdea22d29c669fb14840f97a2 inherit pub_methods_classfilter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0be0ee0b051f2bb824623a11545b662a inherit pub_methods_classfilter"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/db7/classfilter.html#a0be0ee0b051f2bb824623a11545b662a">~filter</a> (void)</td></tr>
<tr class="separator:a0be0ee0b051f2bb824623a11545b662a inherit pub_methods_classfilter"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aa50f21a237a7ab9d1a8fb4c2892201db"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a> [2]</td></tr>
<tr class="separator:aa50f21a237a7ab9d1a8fb4c2892201db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32a0f9010b43686881bece5ad0302d0d"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">Lpf_out_prev</a> [2]</td></tr>
<tr class="separator:a32a0f9010b43686881bece5ad0302d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4de5454cebcd8d7b2653450f8468c23"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#ab4de5454cebcd8d7b2653450f8468c23">Lpf_in1</a></td></tr>
<tr class="separator:ab4de5454cebcd8d7b2653450f8468c23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1fde945d56bb4f41f87f5061cdb38ff"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#ae1fde945d56bb4f41f87f5061cdb38ff">Lpf_in2</a></td></tr>
<tr class="separator:ae1fde945d56bb4f41f87f5061cdb38ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace558739119b953c4f5625cfd1cf8dd3"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#ace558739119b953c4f5625cfd1cf8dd3">Lpf_in3</a></td></tr>
<tr class="separator:ace558739119b953c4f5625cfd1cf8dd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab436c80c316b5bfaef6ce7e87c3a46aa"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#ab436c80c316b5bfaef6ce7e87c3a46aa">Lpf_out1</a></td></tr>
<tr class="separator:ab436c80c316b5bfaef6ce7e87c3a46aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eac549f499c2497c5ccdc8738bed7b6"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#a5eac549f499c2497c5ccdc8738bed7b6">Lpf_out2</a></td></tr>
<tr class="separator:a5eac549f499c2497c5ccdc8738bed7b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a579425bc091157968c439f7f7351de52"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d4f/classdigital__lp__filter.html#a579425bc091157968c439f7f7351de52">lpf_out</a></td></tr>
<tr class="separator:a579425bc091157968c439f7f7351de52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class digital_lp_filter&lt; T &gt;</h3>


<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00033">33</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a623db70959f94602edb6795a2e9071a0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::<a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a> </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>w_c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>t_s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/de4/filters_8cpp_source.html#l00101">101</a> of file <a class="el" href="../../dc/de4/filters_8cpp_source.html">filters.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                                                    {</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[0] = <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[1] = 0;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">Lpf_out_prev</a>[0] = <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">Lpf_out_prev</a>[1] = 0;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ab4de5454cebcd8d7b2653450f8468c23">Lpf_in1</a> = 0, <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ae1fde945d56bb4f41f87f5061cdb38ff">Lpf_in2</a> = 0, <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ace558739119b953c4f5625cfd1cf8dd3">Lpf_in3</a> = 0, <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ab436c80c316b5bfaef6ce7e87c3a46aa">Lpf_out1</a> = 0, <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a5eac549f499c2497c5ccdc8738bed7b6">Lpf_out2</a> = 0;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="keywordtype">float</span> den = 2500 * t_s * t_s * w_c * w_c + 7071 * t_s * w_c + 10000;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ab4de5454cebcd8d7b2653450f8468c23">Lpf_in1</a> = 2500 * t_s * t_s * w_c * w_c / den;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ae1fde945d56bb4f41f87f5061cdb38ff">Lpf_in2</a> = 5000 * t_s * t_s * w_c * w_c / den;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ace558739119b953c4f5625cfd1cf8dd3">Lpf_in3</a> = 2500 * t_s * t_s * w_c * w_c / den;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ab436c80c316b5bfaef6ce7e87c3a46aa">Lpf_out1</a> = -(5000 * t_s * t_s * w_c * w_c - 20000) / den;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a5eac549f499c2497c5ccdc8738bed7b6">Lpf_out2</a> = -(2500 * t_s * t_s * w_c * w_c - 7071 * t_s * w_c + 10000) / den;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;}</div><div class="ttc" id="classdigital__lp__filter_html_ab436c80c316b5bfaef6ce7e87c3a46aa"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ab436c80c316b5bfaef6ce7e87c3a46aa">digital_lp_filter::Lpf_out1</a></div><div class="ttdeci">T Lpf_out1</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_ae1fde945d56bb4f41f87f5061cdb38ff"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ae1fde945d56bb4f41f87f5061cdb38ff">digital_lp_filter::Lpf_in2</a></div><div class="ttdeci">T Lpf_in2</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_a32a0f9010b43686881bece5ad0302d0d"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">digital_lp_filter::Lpf_out_prev</a></div><div class="ttdeci">T Lpf_out_prev[2]</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00043">filters.h:43</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_aa50f21a237a7ab9d1a8fb4c2892201db"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">digital_lp_filter::Lpf_in_prev</a></div><div class="ttdeci">T Lpf_in_prev[2]</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00042">filters.h:42</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_ace558739119b953c4f5625cfd1cf8dd3"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ace558739119b953c4f5625cfd1cf8dd3">digital_lp_filter::Lpf_in3</a></div><div class="ttdeci">T Lpf_in3</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_ab4de5454cebcd8d7b2653450f8468c23"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ab4de5454cebcd8d7b2653450f8468c23">digital_lp_filter::Lpf_in1</a></div><div class="ttdeci">T Lpf_in1</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_a5eac549f499c2497c5ccdc8738bed7b6"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#a5eac549f499c2497c5ccdc8738bed7b6">digital_lp_filter::Lpf_out2</a></div><div class="ttdeci">T Lpf_out2</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a3cc33f8a1b44e5ee6d5443676da111f0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::~<a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/de4/filters_8cpp_source.html#l00115">115</a> of file <a class="el" href="../../dc/de4/filters_8cpp_source.html">filters.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{}</div></div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a76efd95997dfdbd4407a1992e16e2566"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::clear </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../db/db7/classfilter.html#ae0e36e8992fc55acceddc7b02a2a711a">filter&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="../../dc/de4/filters_8cpp_source.html#l00135">135</a> of file <a class="el" href="../../dc/de4/filters_8cpp_source.html">filters.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                                     {</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[1] = 0;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[0] = 0;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">Lpf_out_prev</a>[1] = 0;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">Lpf_out_prev</a>[0] = 0;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;}</div><div class="ttc" id="classdigital__lp__filter_html_a32a0f9010b43686881bece5ad0302d0d"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">digital_lp_filter::Lpf_out_prev</a></div><div class="ttdeci">T Lpf_out_prev[2]</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00043">filters.h:43</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_aa50f21a237a7ab9d1a8fb4c2892201db"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">digital_lp_filter::Lpf_in_prev</a></div><div class="ttdeci">T Lpf_in_prev[2]</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00042">filters.h:42</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ac4d847907d2b803d4e305374c4735494"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::input </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>input_value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../db/db7/classfilter.html#a968cd36e3cca3fb8541d4a57510aca4f">filter&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="../../dc/de4/filters_8cpp_source.html#l00118">118</a> of file <a class="el" href="../../dc/de4/filters_8cpp_source.html">filters.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                                         {</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a579425bc091157968c439f7f7351de52">lpf_out</a> = <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ab4de5454cebcd8d7b2653450f8468c23">Lpf_in1</a> * lpf_in + <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ae1fde945d56bb4f41f87f5061cdb38ff">Lpf_in2</a> * <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[0] +</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;            <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ace558739119b953c4f5625cfd1cf8dd3">Lpf_in3</a> * <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[1] +  <span class="comment">// input component</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            <a class="code" href="../../da/d4f/classdigital__lp__filter.html#ab436c80c316b5bfaef6ce7e87c3a46aa">Lpf_out1</a> * <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">Lpf_out_prev</a>[0] +</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a5eac549f499c2497c5ccdc8738bed7b6">Lpf_out2</a> * <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">Lpf_out_prev</a>[1];  <span class="comment">// output component</span></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[1] = <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[0];</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  <a class="code" href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">Lpf_in_prev</a>[0] = lpf_in;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  Lpf_out_prev[1] = Lpf_out_prev[0];</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  Lpf_out_prev[0] = <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a579425bc091157968c439f7f7351de52">lpf_out</a>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;}</div><div class="ttc" id="classdigital__lp__filter_html_a579425bc091157968c439f7f7351de52"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#a579425bc091157968c439f7f7351de52">digital_lp_filter::lpf_out</a></div><div class="ttdeci">T lpf_out</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00045">filters.h:45</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_ab436c80c316b5bfaef6ce7e87c3a46aa"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ab436c80c316b5bfaef6ce7e87c3a46aa">digital_lp_filter::Lpf_out1</a></div><div class="ttdeci">T Lpf_out1</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_ae1fde945d56bb4f41f87f5061cdb38ff"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ae1fde945d56bb4f41f87f5061cdb38ff">digital_lp_filter::Lpf_in2</a></div><div class="ttdeci">T Lpf_in2</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_a32a0f9010b43686881bece5ad0302d0d"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#a32a0f9010b43686881bece5ad0302d0d">digital_lp_filter::Lpf_out_prev</a></div><div class="ttdeci">T Lpf_out_prev[2]</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00043">filters.h:43</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_aa50f21a237a7ab9d1a8fb4c2892201db"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#aa50f21a237a7ab9d1a8fb4c2892201db">digital_lp_filter::Lpf_in_prev</a></div><div class="ttdeci">T Lpf_in_prev[2]</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00042">filters.h:42</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_ace558739119b953c4f5625cfd1cf8dd3"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ace558739119b953c4f5625cfd1cf8dd3">digital_lp_filter::Lpf_in3</a></div><div class="ttdeci">T Lpf_in3</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_ab4de5454cebcd8d7b2653450f8468c23"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#ab4de5454cebcd8d7b2653450f8468c23">digital_lp_filter::Lpf_in1</a></div><div class="ttdeci">T Lpf_in1</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
<div class="ttc" id="classdigital__lp__filter_html_a5eac549f499c2497c5ccdc8738bed7b6"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#a5eac549f499c2497c5ccdc8738bed7b6">digital_lp_filter::Lpf_out2</a></div><div class="ttdeci">T Lpf_out2</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00044">filters.h:44</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a15cac566530d7857a642ccf175241c42"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::output </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../db/db7/classfilter.html#a368417e744fae19145dc46bd878216e5">filter&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="../../dc/de4/filters_8cpp_source.html#l00130">130</a> of file <a class="el" href="../../dc/de4/filters_8cpp_source.html">filters.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                                   {</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="../../da/d4f/classdigital__lp__filter.html#a579425bc091157968c439f7f7351de52">lpf_out</a>;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;}</div><div class="ttc" id="classdigital__lp__filter_html_a579425bc091157968c439f7f7351de52"><div class="ttname"><a href="../../da/d4f/classdigital__lp__filter.html#a579425bc091157968c439f7f7351de52">digital_lp_filter::lpf_out</a></div><div class="ttdeci">T lpf_out</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/ddd/filters_8h_source.html#l00045">filters.h:45</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ab4de5454cebcd8d7b2653450f8468c23"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::Lpf_in1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00044">44</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae1fde945d56bb4f41f87f5061cdb38ff"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::Lpf_in2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00044">44</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<a class="anchor" id="ace558739119b953c4f5625cfd1cf8dd3"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::Lpf_in3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00044">44</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa50f21a237a7ab9d1a8fb4c2892201db"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::Lpf_in_prev[2]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00042">42</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<a class="anchor" id="a579425bc091157968c439f7f7351de52"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::lpf_out</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00045">45</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab436c80c316b5bfaef6ce7e87c3a46aa"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::Lpf_out1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00044">44</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5eac549f499c2497c5ccdc8738bed7b6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::Lpf_out2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00044">44</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<a class="anchor" id="a32a0f9010b43686881bece5ad0302d0d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a>&lt; T &gt;::Lpf_out_prev[2]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../dc/ddd/filters_8h_source.html#l00043">43</a> of file <a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="../../dc/ddd/filters_8h_source.html">filters.h</a></li>
<li><a class="el" href="../../dc/de4/filters_8cpp_source.html">filters.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../da/d4f/classdigital__lp__filter.html">digital_lp_filter</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
